<template>
	<div>
		<van-tabbar v-model="active" route  safe-area-inset-bottom>
		  <van-tabbar-item to="/main/mainIndex" icon="home-o">首页</van-tabbar-item>
		  <van-tabbar-item to="/main/market" icon="chart-trending-o">行情</van-tabbar-item>
		  <van-tabbar-item icon="friends-o">自选</van-tabbar-item>
		  <van-tabbar-item icon="refund-o">交易</van-tabbar-item>
		  <van-tabbar-item icon="user-o">我的</van-tabbar-item>
		</van-tabbar>
<!--		<router-link to="/main/mainIndex">去首页</router-link>-->
		<router-view/>
	</div>
</template>

<script>
	import '@vant/touch-emulator';
	export default {
	  data() {
	    return {
	      active: 0,
	    };
	  },
	};
</script>

<style>
</style>
